package com.main.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.main.dao.UserInfoDao;
import com.main.pojo.Userinfo;


@Service
public class UserInfoService {

	@Autowired
    private UserInfoDao dao;
	
	public Userinfo getUserinfo(int id){
    	 return dao.getUserinfo(id);
    }
    
    public Userinfo getUserinfo2(int id){
    	 return dao.getUserinfo2(id);
    }
}
